package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;
import java.util.Map;
@Data
@Table(name = "KNOWLEDGE_AUDIT_PACK")
public class KnowledgeAuditPack extends BaseEntity {
	private static final long serialVersionUID = 1L;

	public final static int PASS = 2;
	public final static int UNPASS = 1;
	public final static int REJECT = 3;

	/**
	 * 包含动态字段
	 */
	public final static int INCLUDE_DYNAMIC_FIELD = 1;

	/**
	 * 不包含动态字段
	 */
	public final static int NOT_INCLUDE_DYNAMIC_FIELD = 0;

	@TableId
	private String id;
    /** 导出知识包名称 */
    private String name ;
    /** 知识条数 */
    private Integer knowledgeTotal;
    /** 导出原因 */
    private String cause ;
    /** 审核状态 1.未审核,2.审核通过,3.驳回*/
    private Integer auditStatus;
    /** 排除字段 */
    private String exclude;
	/** 知识库ID */
	private String knowledgeLibId;

	private Integer downloadTotal;

	private String rejectCause;

	private Integer type;

	private Integer status;

	private int includeDynamicField;

	@TableField(exist = false)
	private String knowledgeLibName;

	@TableField(exist = false)
	private String password;

	@TableField(exist = false)
	private String startDate;

	@TableField(exist = false)
	private String endDate;

	@TableField(exist = false)
	private Map<String, String> tagMap;

	@TableField(exist = false)
	private Map<String, String> platformMap;
}
